<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title th:text="#{aiot_price_plan}">AIOT Pricing Plans</title>
    <link href="/dc/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            font-family: Arial, sans-serif;
        }
        .pricing-header {
            background-color: #f8f9fa;
            padding: 2rem 0;
        }
        .pricing-card {
            border: 1px solid #dee2e6;
            border-radius: 0.5rem;
            transition: transform 0.3s ease;
        }
        .pricing-card:hover {
            transform: scale(1.05);
        }
        .feature-comparison {
            margin-top: 3rem;
        }
        .feature-category {
            background-color: #e9ecef;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <header class="pricing-header text-center">
        <div class="container">
            <h1 class="display-4">Choose Your Service Level</h1>
            <p class="lead">Flexible pricing levels to meet different needs. Compare Free, Professional, and Enterprise editions.</p>
        </div>
    </header>

    <main class="container py-5">
        <div class="row g-4">
            <!-- Free Plan -->
            <div class="col-md-4">
                <div class="pricing-card p-4 text-center">
                    <h2 class="h4">Free Edition</h2>
                    <p>Suitable for individual beginners.</p>
                </div>
            </div>

            <!-- Professional Plan -->
            <div class="col-md-4">
                <div class="pricing-card p-4 text-center">
                    <h2 class="h4">Professional Edition</h2>
                    <p>Suitable for experienced developers and small teams.</p>
                </div>
            </div>

            <!-- Enterprise Plan -->
            <div class="col-md-4">
                <div class="pricing-card p-4 text-center">
                    <h2 class="h4">Enterprise Edition</h2>
                    <p>Suitable for large-scale enterprise deployments.</p>
                </div>
            </div>
        </div>

        <!-- Feature Comparison Table -->
        <section class="feature-comparison">
            <h2 class="text-center">Feature Comparison</h2>
            <table class="table table-striped table-bordered mt-4">
                <thead class="table-dark">
                    <tr>
                        <th>Feature</th>
                        <th>Free Edition</th>
                        <th>Professional Edition</th>
                        <th>Enterprise Edition</th>
                    </tr>
                </thead>
                <tbody>
                    <!-- Code and Open Source -->
                    <tr class="feature-category">
                        <td colspan="4">Code</td>
                    </tr>
                    <tr>
                        <td>Embedded source code provided</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Cloud-based code provided</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>

                    <!-- API Features -->
                    <tr class="feature-category">
                        <td colspan="4">API</td>
                    </tr>
                    <tr>
                        <td>API calls per minute</td>
                        <td>2</td>
                        <td>10</td>
                        <td>100</td>
                    </tr>
                    <tr>
                        <td>API calls per day</td>
                        <td>100</td>
                        <td>10000</td>
                        <td>100000</td>
                    </tr>
                    <tr>
                        <td>Email push limit</td>
                        <td>3</td>
                        <td>1000</td>
                        <td>10000</td>
                    </tr>
                    <tr>
                        <td>Private SMTP setup</td>
                        <td>❌</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>

                    <!-- Training and Support -->
                    <tr class="feature-category">
                        <td colspan="4">Development & Debugging</td>
                    </tr>
                    <tr>
                        <td>Online code editing</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Online log viewing</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Daily cloud compilation limit</td>
                        <td>3</td>
                        <td>50</td>
                        <td>1000</td>
                    </tr>
                    <tr>
                        <td>Number of firmware versions stored</td>
                        <td>3</td>
                        <td>10</td>
                        <td>100</td>
                    </tr>

                    <!-- Cloud Features -->
                    <tr class="feature-category">
                        <td colspan="4">OTA Updates</td>
                    </tr>
                    <tr>
                        <td>Number of versions</td>
                        <td>1</td>
                        <td>10</td>
                        <td>50</td>
                    </tr>
                    <tr class="feature-category">
                        <td colspan="4">Capacity</td>
                    </tr>
                    <tr>
                        <td>Number of devices</td>
                        <td>3</td>
                        <td>1000</td>
                        <td>10000</td>
                    </tr>
                    <tr>
                        <td>Data retention period (days)</td>
                        <td>3</td>
                        <td>30</td>
                        <td>100</td>
                    </tr>
                    <tr class="feature-category">
                        <td colspan="4">Private Deployment</td>
                    </tr>
                    <tr>
                        <td>Support available</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Concurrent online devices</td>
                        <td>5</td>
                        <td>100</td>
                        <td>Unlimited</td>
                    </tr>
                    <tr>
                        <td>Maximum number of devices</td>
                        <td>10</td>
                        <td>200</td>
                        <td>Unlimited</td>
                    </tr>
                    <tr>
                        <td>Cluster deployment</td>
                        <td>❌</td>
                        <td>❌</td>
                        <td>✔️</td>
                    </tr>

                    <tr class="feature-category">
                        <td colspan="4">Resources, Training, and Technical Support</td>
                    </tr>
                    <tr>
                        <td>Public resources</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Paid courses</td>
                        <td>✔️</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Email technical support</td>
                        <td>❌</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Phone technical support</td>
                        <td>❌</td>
                        <td>❌</td>
                        <td>✔️</td>
                    </tr>

                    <tr class="feature-category">
                        <td colspan="4">Hardware Devices</td>
                    </tr>
                    <tr>
                        <td>PCB customization</td>
                        <td>❌</td>
                        <td>✔️</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Custom shell logo</td>
                        <td>❌</td>
                        <td>❌</td>
                        <td>✔️</td>
                    </tr>
                    <tr>
                        <td>Custom interfaces</td>
                        <td>❌</td>
                        <td>❌</td>
                        <td>✔️</td>
                    </tr>
                </tbody>
            </table>
        </section>
    </main>
</body>
</html>